package com.ruoyi.dynamic.model.pojo.request.app;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Getter
@Setter
@Schema(description = "APP-房间心动拍拍参数")
public class AppRoomChumApplyRequest {
    @Schema(description = "房间id")
    @NotNull(message = "房间id不能为空")
    private Long roomId;

    @Schema(description = "用户密友关系id")
    private Long userChumId = 0L;

    @Schema(description = "起拍价")
    @NotNull(message = "起拍价不能为空")
    @DecimalMin(value = "1", message = "起拍价最低1钻石")
    private BigDecimal money;

    @Schema(description = "拍卖内容")
    private String content;

    @Schema(description = "拍卖类型0关系1其他")
    @NotNull(message = "拍卖类型不能为空")
    private Integer auctionType;
}
